#ifndef STAFFMANAGEMENT_H
#define STAFFMANAGEMENT_H

#include <QWidget>
#include "personstaffinformation.h"
class InquireSql;
class AddModifyStaffInformation;

namespace Ui {
class StaffManagement;
}

class StaffManagement : public QWidget
{
    Q_OBJECT
    
public:
    explicit StaffManagement(QWidget *parent = 0);
    ~StaffManagement();
//    void displayStaffInformation();
    
public slots:
    void slotDisplayStaffInformation();

private slots:
    void on_pushButtonNew_clicked();

    void on_pushButtonModity_clicked();

    void on_pushButtonDelete_clicked();

private:
    void setQtableWidgetHeaderStyle();
    void setTableWidgetColor();

    Ui::StaffManagement *ui;

    AddModifyStaffInformation *m_addModifyStaffInformation;

    InquireSql *m_sql;

    staffInformationList m_list;
};

#endif // STAFFMANAGEMENT_H
